export default{
  namespaced:true,
  state:{
    menuWidth:200,
    collapsed:false
  },
  mutations:{
    changeCollapsed(state,value){
      if(value){
        state.menuWidth = 80
      }else{
        state.menuWidth = 200
      }
      state.collapsed = value
    }
  }
}